// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

#nullable restore

using Elastic.Clients.Elasticsearch.Serverless.Fluent;
using Elastic.Clients.Elasticsearch.Serverless.Serialization;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

namespace Elastic.Clients.Elasticsearch.Serverless.Cluster;

public sealed partial class ClusterNodeCount
{
	[JsonInclude, JsonPropertyName("coordinating_only")]
	public int CoordinatingOnly { get; init; }
	[JsonInclude, JsonPropertyName("data")]
	public int Data { get; init; }
	[JsonInclude, JsonPropertyName("data_cold")]
	public int DataCold { get; init; }
	[JsonInclude, JsonPropertyName("data_content")]
	public int DataContent { get; init; }
	[JsonInclude, JsonPropertyName("data_frozen")]
	public int? DataFrozen { get; init; }
	[JsonInclude, JsonPropertyName("data_hot")]
	public int DataHot { get; init; }
	[JsonInclude, JsonPropertyName("data_warm")]
	public int DataWarm { get; init; }
	[JsonInclude, JsonPropertyName("ingest")]
	public int Ingest { get; init; }
	[JsonInclude, JsonPropertyName("master")]
	public int Master { get; init; }
	[JsonInclude, JsonPropertyName("ml")]
	public int Ml { get; init; }
	[JsonInclude, JsonPropertyName("remote_cluster_client")]
	public int RemoteClusterClient { get; init; }
	[JsonInclude, JsonPropertyName("total")]
	public int Total { get; init; }
	[JsonInclude, JsonPropertyName("transform")]
	public int Transform { get; init; }
	[JsonInclude, JsonPropertyName("voting_only")]
	public int VotingOnly { get; init; }
}